PMultiplePaste

Pastes the currently copied object or objects a specified number of times, offsetting each copy by a specified amount.


Command constructor

PMultiplePaste(short nPaste, long xOffset, long yOffset);
short nPaste;
Number of copies to paste
long xOffset;
Horizontal offset of each copied object, starting from the original object or objects in twips
long yOffset;
Vertical offset of each copied object, starting from the original object or objects in twips
Copy objects first. Use the PCopy command to copy the selected objects to the Clipboard before using the PMultiplePaste command.

Pasting text. Text is pasted as separate text blocks. It is not pasted multiple times within a single text block.

Layout view only. Use the PMultiplePaste command only in layout view.

Example. The following example selects the first object drawn, copies it to the Clipboard, and pastes two copies of the selected object, each one successively 0.75 inches to the right on the horizontal (x) axis and 0.75 inches up the vertical (y) axis, starting from the selected object.

PSelect(1);
PCopy();
long t = twips(".75i");
PMultiplePaste(2, t, -t);


See also

The PCopy, PMultPasteOffset, and PPaste commands

Adobe PageMaker 6.5 Help > Commands > Edit > Multiple Paste


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support